<!DOCTYPE html>
<!--suppress ALL-->
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('修改教师档案管理')"/>
    <th:block th:include="include :: datetimepicker-css"/>
    <th:block th:include="include :: bootstrap-fileinput-css"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-record-edit" th:object="${teacherRecord}">
        <input name="teacherRecordId" th:field="*{teacherRecordId}" type="hidden">
        <div class="form-group">
            <div class="col-sm-6">
                <label class="col-sm-3 control-label">照片：</label>
                <div class="col-sm-8">
                    <img class="form-control-static img-responsive" id="picture" th:src="*{picture}"  width="500"/>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label">档案编号：</label>
                    <div class="form-control-static" th:text="*{recordNumber}"></div>
                </div>
                <div class="form-group">
                    <label class="col-sm-4 control-label">工号：</label>
                    <div class="form-control-static" th:text="*{teacherNumber}"></div>
                </div>
                <div class="form-group">
                    <label class="col-sm-4 control-label">姓名：</label>
                    <div class="form-control-static" th:text="*{teacherName}"></div>
                </div>
                <div class="form-group">
                    <label class="col-sm-4 control-label">职务：</label>
                    <div class="form-control-static" th:text="${@dict.getLabel('tms_teacher_post',teacherRecord.post)}"></div>
                </div>
                <div class="form-group">
                    <label class="col-sm-4 control-label">性别：</label>
                    <div class="form-control-static" th:text="${@dict.getLabel('sys_user_sex',teacherRecord.sex)}"></div>
                </div>
                <div class="form-group">
                    <label class="col-sm-4 control-label">身份证号：</label>
                    <div class="form-control-static" th:text="*{idCard}"></div>
                </div>
                <div class="form-group">
                    <label class="col-sm-4 control-label">出生年月：</label>
                    <div class="form-control-static" name="birthday" th:text="${#dates.format(teacherRecord.birthday, 'yyyy-MM-dd')}"></div>
                </div>
                <div class="form-group">
                    <label class="col-sm-4 control-label">电话号码：</label>
                    <div class="form-control-static" th:text="*{phoneNumber}"></div>
                </div>
            </div>
        </div>
        <hr>
        <div class="form-group">
            <div class="col-sm-6">
                <label class="col-sm-4 control-label">家庭住址：</label>
                <div class="form-control-static" th:text="*{homeAddress}"></div>
            </div>
            <div class="col-sm-6">
                <label class="col-sm-4 control-label">户籍：</label>
                <div class="form-control-static" th:text="*{censusRegister}"></div>
            </div>
        </div>
        <hr>
        <div class="form-group">
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label">毕业院校：</label>
                    <div class="form-control-static" th:text="*{graduate}"></div>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="form-group">
                    <label class="col-sm-4 control-label">学历：</label>
                    <div class="form-control-static" th:text="${@dict.getLabel('tms_education_degree',teacherRecord.education)}"></div>
                </div>
            </div>
        </div>
        <hr>
        <div class="form-group">
            <div class="col-sm-4">
                <div class="form-group">
                    <label class="col-sm-4 control-label">紧急联系人：</label>
                    <div class="form-control-static" th:text="*{emergencyContact}"></div>
                </div>
            </div>
            <div class="col-sm-4">
                <div class="form-group">
                    <label class="col-sm-4 control-label">关系：</label>
                    <div class="form-control-static" th:text="*{relationship}"></div>
                </div>
            </div>
            <div class="col-sm-4">
                <div class="form-group">
                    <label class="col-sm-4 control-label">紧急联系电话：</label>
                    <div class="form-control-static" th:text="*{emergencyPhone}"></div>
                </div>
            </div>
        </div>
        <hr>
        <div class="form-group">
            <label class="col-sm-4 control-label">备注：</label>
            <div class="form-control-static" th:text="*{remark}"></div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer"/>
<th:block th:include="include :: datetimepicker-js"/>
<th:block th:include="include :: bootstrap-fileinput-js"/>
</body>
</html>